package com.dawn.iiotgateway.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName(value = "system_user")
public class SystemUser extends BaseEntity {


    private static final long serialVersionUID = 1L;

    @TableField(value = "username")
    private String username;


    @TableField(value = "password", select = false)
    private String password;

    @TableField(value = "name")
    private String name;

    @TableField(value = "type")
    private SystemUserType type;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "avatar_url")
    private String avatarUrl;

    @TableField(value = "additional_info")
    private String additionalInfo;

    @TableField(value = "post_id")
    private Long postId;

    @TableField(value = "status")
    private BaseStatus status;


}